Stack and Queue Layouts of Directed Acyclic Graphs : Extended

نویسنده

  • SRIRAM V. PEMMARAJU
چکیده

Stack layouts and queue layouts of undirected graphs are used to model problems in fault tolerant computing, in VLSI design, and in managing the ow of data in a parallel processing system. In certain applications, such as managing the ow of data in a parallel processing system, it is more realistic to use layouts of directed acyclic graphs (dags) as a model. A stack layout of a dag consists of a topological ordering of the nodes of the graph along with an assignment of arcs to stacks such that if the nodes are laid out in a line according to and the arcs are all drawn above the line, then no two arcs that are assigned to the same stack cross. A queue layout is deened similarly, except that arcs are assigned to queues with the condition that no two arcs assigned to a queue nest. The stacknumber of a dag is the smallest number of stacks required for its stack layout, while the queuenumber of a dag is the smallest number of queues required for its queue layout. Classes of dags identiied by the structure of their underlying undirected graphs are studied. We determine the stacknumber and queuenumber of classes of dags whose underlying undirected graphs are trees or unicyclic graphs. We give a forbidden subgraph characterization of those dags with queuenumber equal to 1 whose underlying undirected graphs are trees. We discuss classes of planar dags and outerplanar dags that have queuenumber and stacknumber that diier markedly. Finally, we show that the problems of determining whether a dag can be laid out in 7 queues and of determining whether a dag can be laid out in 9 stacks are both NP-complete. A k-stack layout of a directed acyclic graph (a dag) ~ G = (V; ~ E) consists of a topological ordering of the nodes of ~ G and an assignment of each arc of ~ G to one of k stacks s 1 ; s 2 ; : : : ; s k. Each stack s j obeys the last in rst out discipline and operates as follows. The nodes in V are scanned in the order given by. When a node v is encountered, any arcs assigned to s j that have node v as their head must be at the top of the stack and are popped. Any arcs that are assigned to s j …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Stack and Queue Layouts of Directed Acyclic Graphs: Part II

Stack layouts and queue layouts of undirected graphs have been used to model problems in fault tolerant computing and in parallel process scheduling. However, problems in parallel process scheduling are more accurately modeled by stack and queue layouts of directed acyclic graphs (dags). A stack layout of a dag is similar to a stack layout of an undirected graph, with the additional requirement...

متن کامل

Plane Drawings of Queue and Deque Graphs

In stack and queue layouts the vertices of a graph are linearly ordered from left to right, where each edge corresponds to an item and the left and right end vertex of each edge represents the addition and removal of the item to the used data structure. A graph admitting a stack or queue layout is a stack or queue graph, respectively. Typical stack and queue layouts are rainbows and twists visu...

متن کامل

Stack and Queue Layouts of Posets

The stacknumber (queuenumber) of a poset is defined as the stacknumber (queuenumber) of its Hasse diagram viewed as a directed acyclic graph. Upper bounds on the queuenumber of a poset are derived in terms of its jumpnumber, its length, its width, and the queuenumber of its covering graph. A lower bound of Ω( √ n) is shown for the queuenumber of the class of n-element planar posets. The queuenu...

متن کامل

Mixed Linear Layouts of Planar Graphs

A k-stack (respectively, k-queue) layout of a graph consists of a total order of the vertices, and a partition of the edges into k sets of non-crossing (non-nested) edges with respect to the vertex ordering. In 1992, Heath and Rosenberg conjectured that every planar graph admits a mixed 1-stack 1-queue layout in which every edge is assigned to a stack or to a queue that use a common vertex orde...

متن کامل

On Linear Layouts of Graphs

In a total order of the vertices of a graph, two edges with no endpoint in common can be crossing, nested, or disjoint. A k-stack (respectively, k-queue, k-arch) layout of a graph consists of a total order of the vertices, and a partition of the edges into k sets of pairwise non-crossing (respectively, non-nested, non-disjoint) edges. Motivated by numerous applications, stack layouts (also call...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993